package cn.edu.scau.cmi.linkaibo.composite.safe;

public class Person extends Organization{ 

private String name; 

private Organization parent; 

public Person() { 

  

} 

public Person(String name) { 

 setName(name); 

} 

public void setName(String name) { 

 this.name=name; 

} 

public String getName() { 

 return this.name; 

} 

public void setParent(Organization t) { 

 parent=t; 

} 

@Override 

public Organization getParent() { 

 return this.parent; 

} 

}